package com.yanma.erp.login.service;

import com.yanma.erp.domain.SysUser;
import com.yanma.erp.login.dao.SysUserDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Kenry.Xian on 2016/2/12 0012.
 */
@Service
public class SysUserService {
    @Autowired
    private SysUserDAO dao;

    public SysUser findUserByName(String name){
        return dao.findByName(name);
    }
}
